#include "Constants.h"
#include "Console.h"
#include "Utilities.h"

static CHAR array[33];
static std::tm temp = CEngine::getTime();
static I8 wat = CEngine::Console::sPrint(array, 33, "Logs\\Log %04d-%02d-%02d %02d-%02d-%02d.txt", temp.tm_year + 1900, temp.tm_mon + 1, temp.tm_mday, temp.tm_hour, temp.tm_min, temp.tm_sec);

namespace CEngine {

namespace Constants {
    namespace Logging {
        const CHAR* defaultLogPath = (const CHAR*)&array;
    }
}

Logging defaultLog(LOG_DEBUG, true, (CHAR*)Constants::Logging::defaultLogPath);

}
